I've been laying out books for paper printing in InDesign.cc for years, and repurposing the same data for ebook editions. After the paper layout is complete, I change a number of things for the electronic version, output to ePub, and then manually edit the XHTML, OPF, NCX, etc. files. It works reliably, although I still have to replace any bitmaps with high-res bitmaps in the epub/IMAGE folder before compiling into the final epub. I ran into a new problem yesterday that I cannot figure out a way around or through. Almost all of the books I make are overwhelmingly English, with scattered Japanese phrases here and there. They all display in ADE, iBooks, Calibre (and even Kindle, after conversion to MOBI) fine. The new problem has appeared ONLY when displaying a spread (2 pages at once) for this particular book in ADE. (The same 2-page spread in iBooks does not show the same problem, and the ebook works normally on all players when displaying only one page at a time.) Every other epub I have made shows the pages in normal left-to-right order; page x on the left, page x+1 on the right. Perfectly normal. This file, and ONLY this file, displays page x on the right, and page x+1 on the left. This is normal behavior for an epub file written in Japanese, especially vertical Japanese, but as I've said this book is overwhelmingly English, with scattered Japanese phrases all marked with XHTML lang tags (ja-JP). The OPF file lists both languages in metadata: <dc:language>en-US</dc:language> <dc:language>ja-JP</dc:language> My assumption is that there is some bit of code somewhere that ADE looks at (and iBooks doesn't) to determine if an ebook should be displayed in left-to-right or right-to-left mode when displaying two pages at a time. I've tried changing a whole lot of things in the OPF and CSS files, with no luck. Does anyone have any idea what might be happening here, and most importantly, how to make it go away short of trying a whole new layout? Thanks for your time.
... View more